package com.quad.innovators.salesease.model.entity.warehouse;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.quad.innovators.salesease.model.entity.BaseEntity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author : shanshan.li
 * @createTime : 2024/12/18 15:48
 * @Version : 1.0 
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_sale_return_order")
public class SaleReturnOrder extends BaseEntity {

    /**
     * code
     */
    private String code;

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 门店Code
     */
    private String shopCode;

    /**
     * 门店名称
     */
    private String shopName;

    /**
     * 仓库code
     */
    private String warehouseCode;

    /**
     * 仓库名称
     */
    private String warehouseName;

    /**
     * 已付款金额
     */
    private BigDecimal paymentAmount;

    /**
     * 快递单号
     */
    private String expressNumber;

    /**
     * 订单状态 1 - 已报单 2 - 已备货 3 - 已签收 4 - 已审核
     */
    private Integer orderStatus;

    /**
     * 审核时间
     */
    private LocalDateTime auditTime;

    /**
     * 签收时间
     */
    private LocalDateTime receiveTime;

    /**
     * 配货时间
     */
    private LocalDateTime stockTime;

    /**
     * 配货人
     */
    private String stockName;

    /**
     * 车辆带货code
     */
    private String vehicleBringCode;

    /**
     * 备注
     */
    private String remark;
}
